#ifndef DEVICE_FILE_CACHE_H
#define DEVICE_FILE_CACHE_H

#include <QWidget>
#include "device_mdle.h"
#include "../interface_mdle/fil_blck/interface_fil_slaver.h"
#include "../../MACRO.h"
#include "../../public_frame_subs/dirs_mdle/browser_blck/QFrameDirsBrowser.h"
namespace Ui {
class device_file_cache;
}

class device_file_cache : public device_mdle
{
    Q_OBJECT

public:
    explicit device_file_cache(QWidget *parent = nullptr);
    ~device_file_cache();

private:
    Ui::device_file_cache *ui;
    QString file_work_dir; //! 传导的工作目录
public:
    // --------------------------------------------
    // 增加IO
    interface_fil_slaver * s_interface_fil; //注册文件主机
private slots:
    void wait_salver_recv_slot(itf_fil);
    // --------------------------------------------
    // 增加本地目录浏览
private:
    QFrameDirsBrowser * ui_dir;
};

#endif // DEVICE_FILE_CACHE_H
